﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>zyOffice for ckeditor4</title>
    <link rel="stylesheet" href="sample.css">
    <link type="text/css" rel="Stylesheet" href="demo.css" />
    <link type="text/css" rel="Stylesheet" href="zyoffice/js/skygqbox.css" />
    <script type="text/javascript" src="zyoffice/js/json2.min.js" charset="utf-8"></script>
    <script type="text/javascript" src="zyoffice/js/jquery-1.4.min.js" charset="utf-8"></script>
    <script type="text/javascript" src="zyoffice/js/skygqbox.js" charset="utf-8"></script>
    <script type="text/javascript" src="ckeditor/ckeditor.js"></script>
    <script type="text/javascript" src="zyoffice/js/w.js" charset="utf-8"></script>
    <script type="text/javascript" src="demo.js" charset="utf-8"></script>
</head>
<body>
    <h1 class="samples">
        根据样式创建CKEDITOR
    </h1>
    <form action="sample_posteddata.php" method="post">
        <p>
            <label for="editor1">
                Editor 1:
            </label>
            <textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10">
                根据样式创建CKEDITOR，并添加WordPaster控件。
            </textarea>
        </p>
        <p>
            <input type="submit" value="Submit">
        </p>
    </form>
    <div id="demos"></div>    
    <script type="text/javascript">
        zyOffice.getInstance({
            word:"http://localhost:13710/zyoffice/word/convert",
			wordExport:"http://localhost:13710/zyoffice/word/export",
            pdf:"http://localhost:13710/zyoffice/pdf/upload"            
        });//加载控件

        CKEDITOR.config.extraPlugins = 'zyoffice,zywordexport,zyofficepdf';
    </script>
</body>
</html>
